package com.dingqb.extendsd;

public class ExtendsDTest extends ExtendsD {
	public static void main(String[] args) {
		ExtendsD1 d=new ExtendsD1();
		d.eat();
		
		d.setOnLinster(new OnLinster() {
			
			@Override
			public String onEat() {
				return null;
			}
			
			@Override
			public int age() {
				return 0;
			}
		});
		
	}

}
